package com.wesley.adapter;

/**
 * <h1>概述</h1>
 * <p>详述</p>
 *
 * @Date: 2021/8/13
 */
public class VoltageAdapter extends Voltage220 implements IVoltage {

    @Override
    public int output5V() {
        int voltage = super.output220();
        int dis = voltage - 215;
        System.out.println("适配之后电压" + dis);
        return dis;
    }

}
